			<section class="wrapper">
				<!-- page start-->
				<section class="panel">
					<header class="panel-heading"> CATEGORY MANAGEMENT   <span class="pull-right"><a href="<?= base_url();?>secure/category_tree/management/add/" type="button" class="btn btn-success btn-sm">Add New</a></span></header>
					<div class="panel-body">
						<table class="table table-striped table-advance table-hover">
							<thead>
								<tr>
									
									<th class="hidden-phone"><i class="icon-bullhorn"></i>
										Category Name</th>
									<th class="hidden-phone"><i class="icon-bookmark"></i>
										Category Description</th>
										
									<th><i class=" icon-edit"></i> Action</th>
								</tr>
							</thead>
							<tbody>
							<?php foreach($category['all'] as $category):?>
								<tr>
									<td class="hidden-phone"><?= $category->name;?></td>
									<td>
									This is a category description just for testing
									This is a category description just for testing
									
									
									</td>
									<td>
										
										<a href="<?= base_url();?>secure/category_tree/management/edit/<?= $category->id;?>" data-toggle="tooltip" title="Edit"><button class="btn btn-primary btn-xs">
											<i class="icon-pencil"></i>
										</button>
										</a>
										<a href="<?= base_url();?>secure/category_tree/management/delete/<?= $category->id;?>" data-toggle="tooltip" title="Delete" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');" >
										<button class="btn btn-danger btn-xs">
											<i class="icon-trash "></i>
										</button>
										</a>
									</td>
								</tr>
								
									<?php endforeach;?>
							</tbody>
						</table>

						<div class="row"><div class="col-sm-6"></div><div class="col-sm-6"><div class="dataTables_paginate paging_bootstrap pagination"><ul>
						<?php  echo $this->pagination->create_links(); ?>
						</ul></div></div></div>
						
						
					</div>
					<!-- End of Body Panel -->
				</section>
				<!-- page end-->
			</section>

